import { createActions, handleActions } from 'redux-actions'

export const { change, asyncChange } = createActions({
    CHANGE: payload => payload,
})

export const reducer = handleActions({
    [change.toString()]: (state, { payload }) => ({ ...state, ...payload }),
}, { key: "", sex: -1, page: 1, limit: 10 })
